package cn.flexui.flexuiserver.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * <p>
 * 会话记录
 * </p>
 *
 * @author apeto
 * @since 2024-09-17 07:08:21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("session_record")
@Schema(name = "SessionRecord", description = "会话记录")
public class SessionRecord extends BaseEntity<SessionRecord> {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "请求id")
    @TableField("request_id")
    private String requestId;

    @Schema(description = "名字")
    @TableField("session_name")
    private String sessionName;

    @Schema(description = "model")
    @TableField("model")
    private String model;

}
